import Vue from 'vue'
Vue.filter("timeFilter",(val)=>{
	return val>9?val:'0'+val;
})
Vue.filter("priceFilter",(val,type="￥")=>{
	if(typeof val === 'number'){
		return type+val.toFixed(2)
	}else if(typeof val === 'string'){
		return type+val
	}
})